package com.wesley.builder;

/**
 * <h1>类描述</h1>
 *
 * @author wei.xin
 * @Date 2020/7/10
 */
public class BuilderDemo {

    public static void main(String[] args) {

        MealBuilder mealBuilder = new MealBuilder();
        Meal chickenMeal = mealBuilder.prepareChickenMeal();
        System.out.println("chicken  price: "+chickenMeal.getPrice());

        Meal vegMeal = mealBuilder.prepareVegMeal();
        System.out.println("vegMeal  price: "+vegMeal.getPrice());


    }

}
